import request from "@/manager/base/RequestManager";


/**
 * FileName: AlbumsGroupController.java
 * Author:   徐寿春
 * Date:     2023/3/21 10:17
 * <p>
 * 名称: 相册组管理器
 */
export function fileCateAdd(params: Record<string, any>) {
    return request.post('/albums/cateAdd', params)
}


export function fileCateEdit(params: Record<string, any>) {
    return request.post('/albums/cateRename', params)
}

// 文件分类删除
export function fileCateDelete(params: Record<string, any>) {
    return request.post('/albums/cateDel', params)
}

// 文件分类列表
export function fileCateLists(params: Record<string, any>) {
    return request.post('/albums/cateList', params)
}

// 文件列表
export function fileList(params: Record<string, any>) {
    return request.post('/albums/albumList', params)
}

// 文件删除
export function fileDelete(params: Record<string, any>) {
    return request.post('/albums/albumDel', params)
}

// 文件移动
export function fileMove(params: Record<string, any>) {
    return request.post('/file/move', params)
}

// 文件重命名
export function fileRename(params: { id: number; name: string }) {
    return request.post('/albums/albumRename', params)
}